package vn.net.click.service.impl;

import java.util.ArrayList;

import vn.net.click.dao.ManagementDAO;
import vn.net.click.model.ThucUong;
import vn.net.click.model.User;
import vn.net.click.service.ManagementService;

public class ManagementServiceImpl implements ManagementService{
	
	private ManagementDAO managementDao;

	public ManagementDAO getManagementDao() {
		return managementDao;
	}

	public void setManagementDao(ManagementDAO managementDao) {
		this.managementDao = managementDao;
	}

	@Override
	public ArrayList<ThucUong> getAllThucUongs() {
		ArrayList<ThucUong> thucUongs = null;
		thucUongs = managementDao.getAllThucUongs();
		return thucUongs;
	}

	@Override
	public ArrayList<User> getAllUsers() {
		ArrayList<User> users = null;
		users = managementDao.getAllUsers();
		return users;
	}
	

}
